package oa.hleast.xswl.service.activity;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.activity.CmsActivityCalendar;
import oa.hleast.xswl.pojo.form.activity.CmsActivityCalendarForm;
import oa.hleast.xswl.pojo.vo.activity.CmsActivityCountVo;

import java.util.List;

public interface ICmsActivityCalendarService extends IService<CmsActivityCalendar> {
    boolean add(CmsActivityCalendarForm form);

    boolean update(CmsActivityCalendar form);

    Page<CmsActivityCountVo> signInPageList(Integer page, Integer limit, Long activityId, Integer display);

    boolean deleteByIds(List<String> asList);

    boolean deleteById(Long id);

    CmsActivityCalendar detail(Long id);

    Boolean addList(List<CmsActivityCalendarForm> formList);
}